package com.site.wisdom_construction.dao.iotModule;


import com.site.wisdom_construction.entity.iotModule.WisdomElectricityAlarms;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2021/12/17
 * @Description
 */
public interface WisdomElectricityAlarmsDao {
    /** 增加告警记录 */
    int insertWisdomElectricityAlarms(Map map);

    /** 查询告警记录 */
    List<WisdomElectricityAlarms> findWisdomElectricityAlarmsByAll(Map map);

    /** 预警分布 */
    List<WisdomElectricityAlarms> countWisdomElectricityAlarmsByAlarmStatus(Map map);

    /** 分页查询智慧用电告警记录 */
    List<WisdomElectricityAlarms> findWisdomElectricityAlarmsByPage(Map map);

    /** 统计总数 */
    long Total(Map map);

    /** 删除告警记录 */
    int deleteWisdomElectricityAlarms(Map map);
}
